From: Bastian Germann Date: Fri, 22 Aug 2025 11:15:18 +0000 (+0200) Subject: Check only major OpenSSL version X-Git-Tag: archive/raspbian/6.0.1-1+rpi1+deb13u1^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0df1914d8f6bd0577ba5f82dc710c67ebadc54b3;p=kamailio.git Check only major OpenSSL version The version check was written during OpenSSL 0.9 era. It is not needed in Debian and only getting in the way. Gbp-Pq: Name Check-only-major-OpenSSL-version.patch --- diff --git a/src/modules/tls/tls_init.c b/src/modules/tls/tls_init.c index 77af27d8..a32f61f2 100644 --- a/src/modules/tls/tls_init.c +++ b/src/modules/tls/tls_init.c @@ -866,7 +866,7 @@ int tls_h_mod_init_f(void) * (e.g. 0.9.8a & 0.9.8c are ok, but 0.9.8 and 0.9.9x are not) * - values is represented as 0xMMNNFFPPS: major minor fix patch status * 0x00090705f == 0.9.7e release */ - if((ssl_version >> 12) != (OPENSSL_VERSION_NUMBER >> 12)) { + if((ssl_version >> 28) != (OPENSSL_VERSION_NUMBER >> 28)) { LM_CRIT("installed openssl library" " version is too different from the library the " NAME " tls" " module was compiled with: installed \"%s\" (0x%08lx),"